const path = require('path');
require("@babel/polyfill")
require('@babel/register')({
    extensions: ['.es6', '.es', '.jsx', '.js', '.mjs', '.ts', '.tsx'],
    cwd: path.join(__dirname, '..')
});